<mat-form-field id="with-errors">
  <span class="custom-control">Custom control harness</span>
  <input matInput [formControl]="requiredControl">

  <mat-error>Error</mat-error>
  <mat-hint align="start">Hint</mat-hint>
</mat-form-field>
